package org.infodavid.common.model;

import java.util.Locale;

import org.infodavid.common.model.components.IOwnerDetails;
import org.infodavid.common.persistence.IBasicDataObject;
import org.infodavid.common.persistence.INamed;

/**
 * The Interface IContentInfo.
 */
public interface IContentInfo extends IBasicDataObject, INamed {

  /** The MIME_TYPE. */
  String MIME_TYPE = "mimeType";

  /** The LANGUAGE. */
  String LANGUAGE = "language";

  /** The constant MAX_LENGTH_MIME_TYPE. */
  int MAX_LENGTH_MIME_TYPE = 64;

  /**
   * Gets the owner details.
   * @return the owner details
   */
  IOwnerDetails getOwnerDetails();

  /**
   * Gets the mime type.
   * @return the mime type
   */
  String getMimeType();

  /**
   * Sets the mime type.
   * @param value the new mime type
   */
  void setMimeType(String value);

  /**
   * Gets the language.
   * @return the language
   */
  Locale getLanguage();

  /**
   * Sets the language.
   * @param value the new language
   */
  void setLanguage(Locale value);
}
